#include "E6ANA.h"
#include <iostream>
#include <gsl/gsl_combination.h>
#include <algorithm>
#include "LeptonicZReconstructor.h"
#include "HadronicWReconstructor.h"
#include "TVector3.h"
/*
bool E6ANA::findMin(recoEvt e1,recoEvt e2){
	return (e1.deltaM<e2.deltaM);

}
*/

bool E6ANA::findMin(DBRecoEvt evt1,DBRecoEvt evt2){
  
  return evt1.deltaM<evt2.deltaM;
}


bool E6ANA::maxPt(DBRecoEvt e1, DBRecoEvt e2){
	
	return (e1.WCandidate.P4().Pt()>e2.WCandidate.P4().Pt());
}

E6ANA::E6ANA(){  
  
}

E6ANA::~E6ANA(){

}


void E6ANA::Execute(){ //fill the histrograms&execute analysis once per event
//body f this function is removed due to privacy
return;
}
